<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			*{
				margin:0;
			}
			#div0{
				border:4px solid red;
				height:350px;
				width:760px;
				margin: 100px auto;
				background-color:black;
			}
			.div{
				width:208px;
				height:300px;
				float:left;
				margin:20px;
				border:1px solid black;
				transition:all 2s;
				border:2px solid white;
				
			}
			.div:hover{
				transform:rotate(60deg) scale(0.5);
			}
		</style>
	</head>
	<body>
		<div id="div0">
			<div  class="div" style="background-image:url(img/1.jpg);"></div>
			<div  class="div"  style="background-image:url(img/2.jpg);"></div>
			<div  class="div"  style="background-image:url(img/3.jpg);"></div>
		</div>
	</body>
</html>
